package com.da.web.dorm_room_bed.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.da.cache.MyCache;
import com.da.web.dorm_room_bed.entity.DormRoomBed;
import com.da.web.dorm_room_bed.entity.DormRoomVo;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author da
 * @time 2023/12/10 上午 10:19
 */
@CacheNamespace(implementation = MyCache.class, eviction = MyCache.class)
public interface DormRoomBedMapper extends BaseMapper<DormRoomBed> {
    List<DormRoomBed> getBedList(@Param("roomId") Long roomId);
    List<DormRoomVo> getSelectBedList(@Param("roomId") Long roomId);
}
